import Api from "../apis/Apis";
import Http from "../../utils/http";

const login = (data) => {
    return Http.post(Api.Account.login, data);
}

const autoLogin = () => {
    return Http.post(Api.Account.autoLogin);
}

const cloneUserSheet = (data) => {
    return Http.post(Api.Account.cloneUserSheet, data);
}

const UserService = {
    login,
    autoLogin,
    cloneUserSheet
}

export default UserService;